/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package universityModel.lesson;

/**
 *
 * @author Admin
 */

/**
 * Describe in whot time lesson starts 
 */
public class Time {
    private String data;
    private int numPair;
	
    public Time(String data, int numPair) {
	this.data = data;
	this.numPair = numPair;
    }
	
    @Override
    public String toString() {
	return  "Number of pair: " + numPair +
                "\nData: " + data ;
    }
}